<template>
  <div class="v-line-right-angle">
    <el-radio-group
      v-model="row.value"
      :disabled="disabled"
    >
      <el-radio :label="true">{{ $t("折线") }}</el-radio>
      <el-radio :label="false">{{ $t("直线") }}</el-radio>
    </el-radio-group>
  </div>
</template>

<script lang="ts" setup>
import { ShapeStyleValue } from "@/modules/model/modals/shapeCustomization/ShapeCustomizationManagementModel";
import { computed } from "vue";

const props = defineProps<{
  row: ShapeStyleValue;
  selected?: boolean;
  configurationDisabled?: boolean;
}>();

const disabled = computed(() => {
  return props.configurationDisabled;
});
</script>
